Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 6 - Transform Objects / Transform Objects Reference
Functions / Creating and Manipulating Transform Objects


GXDisposeTransform

You can use the GXDisposeTransform function to release a reference to a transform object.

void GXDisposeTransform(gxTransform target);
target
The transform object to dispose of.
DESCRIPTION
The GXDisposeTransform function decrements the owner count of the transform object specified by the target parameter, and releases any memory used by the transform if the owner count goes to 0.

ERRORS, WARNINGS, AND NOTICES
Errors 
transform_is_nil 
Warnings 
cannot_dispose_default_transform(debugging version)
SEE ALSO
For an example of the use of this function, see Listing 6-1 on page 6-16.

Owner counts for transform objects are discussed in the section "Copying, Comparing, and Cloning Transform Objects" beginning on page 6-16, and in the section "Manipulating a Transform Object's Owner Count" beginning on page 6-19.

To examine the owner count of a transform, use the GXGetTransformOwners function, described on page 6-39. To increment the owner count of a transform object, use the GXCloneTransform function, which is described on page 6-37.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help